/**
 * 
 */
package com.geekteam.geometrychess.game.entity;


/**
 * @author MtRol
 *
 */
public class Location {
	private int posX;
	private int posY;
	
	public Location(){
		setPosX(0);
		setPosY(0);
	}
	
	public Location(int x, int y){
		posX = x;
		posY = y;
	}
	
	public int getPosX() {
		return posX;
	}

	public void setPosX(int posX) {
		this.posX = posX;
	}

	public int getPosY() {
		return posY;
	}

	public void setPosY(int posY) {
		this.posY = posY;
	}
	
	public boolean equals(Location Other){
		return ((this.posX == Other.getPosX()) && (this.posY == Other.getPosY()));
	}
}
